Reflection Support: Java Reflection Made Easy
نویسندگان
چکیده
منابع مشابه
Reflection Support: Java Reflection Made Easy
Large software projects often require the ability to load and manage new code assets that were not originally available during system compilation. Moreover, testing tools need to inspect and run code components regardless of their structures. Reflection in Java supports these tasks by providing programmers with facilities to dynamically create objects, invoke methods, access fields, and perform...
متن کاملLinguistic Reflection in Java
Reflective systems allow their own structures to be altered from within. Here we are concerned with a style of reflection, called linguistic reflection, which is the ability of a running program to generate new program fragments and to integrate these into its own execution. In particular we describe how this kind of reflection may be provided in the compiler-based, strongly typed object-orient...
متن کاملReflection Analysis for Java
Reflection has always been a thorn in the side of Java static analysis tools. Without a full treatment of reflection, static analysis tools are both incomplete because some parts of the program may not be included in the application call graph, and unsound because the static analysis does not take into account reflective features of Java that allow writes to object fields and method invocations...
متن کاملUnderstanding and analyzing Java reflection
Heap Objects of newInstance() are created lazily ( at LHM points ) Entry Methods Member-Introspecting Methods Side-Effect Methods
متن کاملMore Sound Static Handling of Java Reflection
Reflection is a highly dynamic language feature that poses grave problems for static analyses. In the Java setting, reflection is ubiquitous in large programs. Any handling of reflection will be approximate, and overestimating its reach in a large codebase can be catastrophic for precision and scalability. We present an approach for handling reflection with improved empirical soundness (as meas...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: The Open Software Engineering Journal
سال: 2013
ISSN: 1874-107X
DOI: 10.2174/1874107x20130422001